package com.audaque.springboot.foshanupload.cloudauthtrans.config;

import com.audaque.springboot.foshanupload.cloudauthtrans.filter.TransmittableThreadLocalCurrentUserRemoveFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.servlet.Filter;

/**
 * @author zgb
 * @desc ...
 * @date 2023-07-11 19:31:36
 */

@Configuration
public class TransmittableThreadLocalCurrentUserRemoveFilterBeanConfig {


    //交给spring
    @Bean
    public Filter transmittableThreadLocalCurrentUserRemoveFilter() {
        return new TransmittableThreadLocalCurrentUserRemoveFilter();
    }


}
